//
//  YHOptionTableViewItemTitle.h
//  ScriptKill
//
//  Created by 林宁宁 on 2021/5/20.
//  Copyright © 2021 优智汇. All rights reserved.
//

#import "YHOptionTableViewItem.h"

NS_ASSUME_NONNULL_BEGIN

/// 显示的标题信息 或者提示信息  底部的提交按钮
@interface YHOptionTableViewItemTitle : YHOptionTableViewItem

/// 默认 H1
@property (retain, nonatomic) UIColor * titleColor;
/// 14
@property (retain, nonatomic) UIFont * titleFont;
/// center
@property (assign, nonatomic) NSTextAlignment alignment;

/// 背景色 默认 同cell yh_bg
@property (retain, nonatomic) UIColor * titleBgColor;
/// 左右边界 默认0
@property (assign, nonatomic) CGFloat titleEdgesLeftRight;
/// 圆角大小 默认0
@property (assign, nonatomic) CGFloat titleRoundedCorners;



/// 有该富文本信息 显示该富文本的信息
@property (retain, nonatomic) NSAttributedString * titleAttribute;
/// 点击文本
@property (copy, nonatomic) void(^clickTextIndexBlock)(NSString * textContent, NSInteger index, NSAttributedString * _Nonnull charAttributedString);

@end

NS_ASSUME_NONNULL_END
